# Description: Uzak posta sunucularından posta alır ve yerel makinelere iletir
# URL: http://www.fetchmail.info
# Packager: milisarge
# Depends on: openssl procmail python tk

name=fetchmail
version=6.3.26
release=1
source=(http://downloads.sourceforge.net/fetchmail/$name-$version.tar.xz
		.fetchmailrc)

build() {

	cd $name-$version

	./configure --prefix=/usr --with-ssl --enable-fallback=procmail

	make

	make DESTDIR=$PKG install

	install -v -m755 -d $PKG/root

	cp -v $SRC/.fetchmailrc $PKG/root/.fetchmailrc
	chmod -v 0600 $PKG/root/.fetchmailrc

}
